package com.bootdo.system.service;

import com.smart.domain.WhiteListDO;

import java.util.List;
import java.util.Map;

/**
 * 访问ip白名单
 * 
 * @author wwf
 * @email wwfq2903021027@126.com
 * @date 2019-09-26 15:48:36
 */
public interface WhiteListService {
	
	WhiteListDO get(Integer id);

	List<WhiteListDO> getIp(String ip);
	
	List<WhiteListDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(WhiteListDO whiteList);
	
	int update(WhiteListDO whiteList);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
